package com.bdsoft.actions.resourceManage.Service;

import com.bdsoft.actions.resourceManage.DTO.ResourceDTO;
import com.github.pagehelper.PageInfo;
import java.util.Map;

public interface ResourceService {
    PageInfo<Map<String,Object>> getResourceList(int pageNum, int pageSize, String resourceId, String resourceName);
    Map<String,Object> saveOrUpdateResource(ResourceDTO resourceDTO);
    Map<String,Object> deleteResourceById(String resourceId);
    Map<String,Object> getResourceListByRole(String roleId);
    Map<String,Object> assignResourceToRole(String roleId, String resourceId);
    Map<String,Object> removeResourceFromRole(String roleId, String resourceId);
} 